package com.huabo.system.service;

import com.huabo.system.mysql.entity.TblFlowInnerRuleMySql;
import com.huabo.system.oracle.entity.TblFlowInnerRule;

import java.util.List;
import java.util.Map;

public interface TblFlowInnerRuleService {
    void saveTblFlowInnerRule(TblFlowInnerRule var1);

    void saveMySqlTblFlowInnerRule(TblFlowInnerRuleMySql var1);

    Map<String, Object> findByOrgidAndFlowidobj(String flowid, Integer pageNumber, Integer pageSize, String token);

    List<TblFlowInnerRule> isIfFlowInner(String flowid, String[] innerid);

    List<TblFlowInnerRuleMySql> isIfMySqlFlowInner(String flowid, String[] innerid);

    void deleteTblFlowInnerRule(TblFlowInnerRule inner);

    void deleteMySqlTblFlowInnerRule(TblFlowInnerRuleMySql inner);

    Map<String, Object> findOutRuleByOrgidAndFlowid(String name, String status, String flowid, Integer pageNumber, Integer pageSize, String token);
    
    void delteTblFlowInnerRule(TblFlowInnerRule inner);
}
